From: Florian Müllner Date: Wed, 22 Dec 2021 14:48:48 +0000 (+0100) Subject: extensions-app: Start as service when D-Bus activated X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~536^2^2~32 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=e8d5564e9e002d86d0a0d1c57866294f526f7475;p=gnome-shell.git extensions-app: Start as service when D-Bus activated When the app is properly launched, D-Bus activation will be followed by a call to org.freedesktop.Application.Activate() to open the window. But it's also possible for D-Bus activation to happen in other circumstances, for example during gdbus command line completion. We don't want to pop up a window then, so pass the --gapplication-service flag to properly separate D-Bus activation from activating the app. Part-of: --- diff --git a/subprojects/extensions-app/data/org.gnome.Extensions.desktop.in.in b/subprojects/extensions-app/data/org.gnome.Extensions.desktop.in.in index a935780b7..b68f5fff6 100644 --- a/subprojects/extensions-app/data/org.gnome.Extensions.desktop.in.in +++ b/subprojects/extensions-app/data/org.gnome.Extensions.desktop.in.in @@ -4,7 +4,7 @@ Name=Extensions # Translators: Do NOT translate or transliterate this text (this is an icon file name)! Icon=@app_id@ Comment=Configure GNOME Shell Extensions -Exec=@bindir@/@prgname@ +Exec=@bindir@/@prgname@ --gapplication-service DBusActivatable=true Categories=GNOME;GTK;Utility; OnlyShowIn=GNOME;